package zzs.generalframework.console.core.parameter.commonparameter.address.dao;

import java.util.List;

import zzs.generalframework.common.core.parameter.commonparameter.address.AddressInfo;
import zzs.generalframework.common.core.parameter.commonparameter.address.AddressPO;

/**
 * @title
 * @description
 * @project zzs-console
 * @package zzs.generalframework.console.core.parameter.commonparameter.address.dao
 * @author zzs
 * @date 2018年2月2日
 * @version 1.0
 */
public interface IAddressDao
{
	/**
	 * 创建地址信息
	 * 
	 * @param addressPO
	 * @return
	 */
	public boolean insert(AddressPO addressPO);

	/**
	 * 更新地址信息
	 *
	 * @param addressPO
	 * @return
	 */
	public boolean update(AddressPO addressPO);

	/**
	 * 查询地址信息
	 *
	 * @param addressInfo
	 * @return
	 */
	public List<AddressPO> select(AddressInfo addressInfo);

	/**
	 * 删除地址信息
	 *
	 * @param addressPO
	 * @return
	 */
	public boolean delete(AddressPO addressPO);

	/**
	 * 统计地址信息
	 * 
	 * @param addressPO
	 * @return
	 */
	public Long count(AddressPO addressPO);

}
